<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" th:with="title='党建',active='party'">
<header th:replace="comm/header::headerFragment(${title},${active})"></header>
<link th:href="@{/admin/plugins/tagsinput/jquery.tagsinput.css}" rel="stylesheet"/>
<link th:href="@{/admin/plugins/select2.dist.css/select2-bootstrap.css}" rel="stylesheet"/>
<link th:href="@{/admin/plugins/toggles/toggles.css}" rel="stylesheet"/>

<link href="//cdn.bootcss.com/multi-select/0.9.12/css/multi-select.css" rel="stylesheet"/>
<link href="//cdn.bootcss.com/select2/3.4.8/select2.min.css" rel="stylesheet"/>
<link th:href="@{/admin/plugins/md/css/style.css}" rel="stylesheet"/>
<link rel="stylesheet" th:href="@{/plugins/kkpager/kkpager_blue.css}">
<!-- editor.md -->
<style>
    #tags_tagsinput {
        background-color: #fafafa;
        border: 1px solid #eeeeee;
    }

    #tags_addTag input {
        width: 100%;
    }

    #tags_addTag {
        margin-top: -5px;
    }
    .tablab{background: #969896}
</style>
<body class="fixed-left">
<div id="wrapper">
    <div th:replace="comm/header::header-body"></div>
    <div class="content-page">
        <div class="content">
            <div class="container">
                <div class="row">
                    <h2 class="page-title text-center">
                        <p th:utext="${buildingExamVO?.name}"></p>
                    </h2>
                    <div class="col-sm-12">
                    </div>
                    <div class="text-left">
                        <div class="col-md-12">
                            <table class="table table-striped table-bordered">
                                <tbody>
                                <tr>
                                    <td colspan="3" rowspan="2"><div class="text-center"><p>姓名</p><span th:text="${buildingExamVO?.buildingExamResultVO?.userName}"></span></div></td>
                                    <td colspan="3" rowspan="2"><div class="text-center"><p>分数</p><span th:text="${buildingExamVO?.buildingExamResultVO?.testScore}"></span></div></td>
                                    <td colspan="3" rowspan="2"><div class="text-center"><p>答对题</p><span th:text="${buildingExamVO?.buildingExamResultVO?.passed}"></span></div></td>
                                    <td colspan="3" rowspan="2"><div class="text-center"><p>答错题</p><span th:text="${buildingExamVO?.buildingExamResultVO?.unpassed}"></span></div></td>
                                </tr>
                                <tr></tr>
                                </tbody>
                            </table>
                        </div>
                        <div th:each="topic,topicStat:${buildingExamVO?.buildingExamTopicVOS}">
                            <div class="text-left">
                                <span th:text="${topicStat.index+1}"></span>、<span th:text="${topic.title}"></span>【<span th:text="${T(com.mjh.zhujianju.enums.AnswerTypeEnum).getName(topic.type)}"></span>、<span th:text="${topic.grade}"></span>分】
                                <div>
                    <span th:each="answer,answerStat:${topic?.buildingExamAnswerVOS}">
                        <div>
                            <span th:if="${answer.choosed eq 1}">
                                <img src="/image/yes.png" style="width:15px; height:15px; border-radius:50%; overflow:hidden;background-color: #00d95a"/>&nbsp;
                            </span>
                            <span th:unless="${answer.choosed eq 1}">
                                <img src="/image/yes.png" style="width:15px; height:15px; border-radius:50%;"/>&nbsp;
                            </span>
                            <span th:text="${answer.sort}"></span>、<span th:text="${answer.title}"></span>
                        </div>
                    </span>
                                    <div class="tablab">
                                        正确答案：<span th:text="${topic.sort}"></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="clearfix"></div>
                    <p></p>
                    <div class="text-center">
                        <a class="btn btn-primary waves-effect waves-light" onclick="forBack()">返回</a>
                    </div>
                    <input name="id" id="id" style="display: none;" th:value="${id}">
                    <input name="examId" id="examId" style="display: none;" th:value="${examId}">
                </div>
                <div th:replace="comm/footer :: footer-content"></div>
            </div>
        </div>
    </div>
</div>
<div th:replace="comm/footer :: footer"></div>
<script type="text/javascript">
</script>
<script th:src="@{/admin/plugins/tagsinput/jquery.tagsinput.min.js}"></script>
<script th:src="@{/admin/plugins/jquery-multi-select/jquery.quicksearch.js}"></script>


<script th:src="@{//cdn.bootcss.com/multi-select/0.9.12/js/jquery.multi-select.min.js}"></script>
<script th:src="@{//cdn.bootcss.com/select2/3.4.8/select2.min.js}"></script>
<script th:src="@{//cdn.bootcss.com/jquery-toggles/2.0.4/toggles.min.js}"></script>
<script th:src="@{/plugins/kkpager/kkpager.min.js}"></script>
<script th:src="@{/js/party/exam/detail.js}"></script>
<script th:src="@{/js/common/DateUtil.js}"></script>
</body>
</html>